﻿// ***********************************************************************
// Assembly         : MVC4Portal
// Author           : LJO+01
// Created          : 06-16-2013
//
// Last Modified By : LJO+01
// Last Modified On : 06-26-2013
// ***********************************************************************
// <copyright file="ManagedContact_MetaModel.cs" company="Innovacall">
//     Copyright (c) Innovacall. All rights reserved.
// </copyright>
// <summary></summary>
// ***********************************************************************
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using InnovaApp.Layers.MetaDataLayer;
using INNOVACALL.Framework.Common.MVCHelpers.Localization;
using INNOVACALL.Framework.Common.Models.ViewModels.MetaModels;
using System.ComponentModel.DataAnnotations;

namespace InnovaApp.Portals.MVC4Portal.Models.MetaModels.ContactManagement
{
    /// <summary>
    /// Class ManagedContact_MetaModel
    /// </summary>
    public class ManagedContact_MetaModel : InnovaApp.Layers.SecurityLayer.Models.MetaModels.Contact_MetaModel
    {
        /// <summary>
        /// Gets or sets the addresses.
        /// </summary>
        /// <value>The addresses.</value>
        [Display(ResourceType = typeof(InnovaApp.Layers.ResourcesLayer.Properties.Resources),Name = "Ety_ContactManager_MainForm_Addresses")]
        public List<Contact_ContactAddress_MetaModel> Contact_ContactAddresses { get; set; }
        /// <summary>
        /// Gets or sets the telecoms.
        /// </summary>
        /// <value>The telecoms.</value>
        [Display(ResourceType = typeof(InnovaApp.Layers.ResourcesLayer.Properties.Resources),Name = "Ety_ContactManager_MainForm_Telecoms")]
        public List<Contact_TelecomType_MetaModel> Contact_TelecomTypes { get; set; }
        /// <summary>
        /// Gets or sets the telecoms.
        /// </summary>
        /// <value>The telecoms.</value>
        [Display(ResourceType = typeof(InnovaApp.Layers.ResourcesLayer.Properties.Resources),Name = "Ety_ContactManager_MainForm_Competencies")]
        public List<Contact_Competency_MetaModel> Contact_Competencies { get; set; }
        /// <summary>
        /// Gets or sets the telecom types.
        /// </summary>
        /// <value>The telecom types.</value>
        public List<SelectListItem> AvailableTelecomTypes { get; set; }
        /// <summary>
        /// Gets or sets the competencies.
        /// </summary>
        /// <value>The competencies.</value>
        public List<SelectListItem> AvailableCompetencies { get; set; }
        /// <summary>
        /// Gets or sets the favorite language.
        /// </summary>
        /// <value>The favorite language.</value>
        public Language_MetaModel FavoriteLanguage { get; set; }
        /// <summary>
        /// Initializes a new instance of the <see cref="ManagedContact_MetaModel" /> class.
        /// </summary>
        public ManagedContact_MetaModel()
            : base()
        {
            base.Genres = new List<SelectListItem>();
            this.Contact_ContactAddresses = new List<Contact_ContactAddress_MetaModel>();
            this.Contact_TelecomTypes = new List<Contact_TelecomType_MetaModel>();
            this.Contact_Competencies = new List<Contact_Competency_MetaModel>();
        }
    }
}